package com.example.demo.service;

import com.example.demo.domain.Picture;

import java.util.List;

public interface PictureService {
    //查询
    Picture getPictureById(Integer id);
    //查询
    List<Picture> getPictureListByGid(Integer gid);
    //添加
    void addPicture(Picture picture);
    //删除
    void delPictureById(Integer id);
    //修改
    void savePicture(Picture picture);
}
